import Vue from 'vue'
import Vuex from 'vuex'
import login from './login'
import car from './car'
import cart from './cart'
import vuexPersist from 'vuex-persist'
Vue.use(Vuex)
export default new Vuex.Store({
  state: {
  },
  getters: {
  },
  mutations: {
  },
  actions: {
  },
  modules: {
    login, car, cart
  },
  plugins: [
    new vuexPersist({
      localstorage: window.localStorage,
    }).plugin,
  ],
})
